import request from '@/router/axios';

export const list = (data) => request({
    url: '/invite-code/list',
    method: 'post',
    data
});
export const create = (data) => request({
    url: '/invite-code/create',
    method: "post",
    data
});
export const update = (data) => request({
    url: '/invite-code/update',
    method: "post",
    data
});
export const remove = (Id) => request({
    url: '/invite-code/delete',
    method: "post",
    data:{
        Id
    }
});